package com.googlecode.jsitemap;

import java.sql.Date;

/**
 * @author Denis Migol
 * 
 */
public abstract class XMLEntryBase<E extends XMLEntryBase<?>> extends EntryBase<E> {
	private Date lastmod;

	@SuppressWarnings("unchecked")
	public E setLastmod(final Date lastmod) {
		this.lastmod = lastmod;
		return (E) this;
	}

	public Date getLastmod() {
		return lastmod;
	}
}
